package com.reading_recognition_system.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Error {
    @JsonProperty("eId")
    private int eId;
    @JsonProperty("uId")
    private int uId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date timestamp;
    private String type;
    private String title;
}
